home *** CD-ROM | disk | FTP | other *** search
/ 130 MIDI Tool Box / 130 MIDI Tool Box.iso / driver / read.me < prev    next >
Encoding:
Text File  |  1987-05-13  |  1.7 KB  |  35 lines

  1.          This archive has a device driver for the Jay Kubicky BYTE
  2. article midi board.  The driver is installed by putting MIDI.BIN in your
  3. boot disk root directory, adding a line to your CONFIG.SYS file
  4. DEVICE=MIDI.BIN
  5. and then re-booting.  This version assumes that both UARTs are hooked up
  6. with separate inputs and outputs, but if you stick to device MIDIA (midi
  7. port A), it will work on an unchanged board.
  8.  
  9.         Included are two C programs that demonstrate how to use the
  10. driver, TWRITE MIDIA will ask you for hex values to send down the MIDIA
  11. device.  It's dumb:  you must type them one at a time with a carriage
  12. return after each.  Try 90 40 40 40 0 to hear it make a noise.
  13. TREAD MIDIA will display hex bytes that it gets from the MIDIA device.
  14. You can select a timeout delay period in microseconds (2000 or more is
  15. a good first value).  If you do not type anything on the midi keyboard
  16. within that time, a beep and an error display is printed.  Overflowing
  17. the input buffer will also print a different message.  (Overflow only
  18. happens because the C compiler is terribly slow at printing hex numbers,
  19. and pitchbend and aftertouch are FAST!).  Note that both programs
  20. require that you mention the name of the midi device when you run them
  21. so they know which one to test. If you haven't hooked up the 2nd uart,
  22. always say MIDIA   
  23.  
  24.         The driver, and both test programs are included in source and
  25. executable.  MIDI.ASM is the device driver, and MIDIO.ASM is some
  26. C-callable routines to get raw-mode access to MSDOS devices.  This
  27. version assumes Microsoft C with the small memory model.
  28.  
  29.         I can be reached for questions at:
  30.         Mike Higgins
  31.         P.O. Box 197
  32.         Duncans Mills, CA 95430
  33.         Or on various MIDI BBS's
  34.  
  35.